/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package forensicsGUI;
import java.io.*;
import java.util.*;
/**
 *
 * @author marc
 */
public class ProgramState implements Serializable
{

    private Vector<AuditedInstances> executedInstances = new Vector<AuditedInstances>();
    private Vector<String > imageList = null;
    private String investigatorName = "";
    private String caseNumber = "";
    private String caseDetails = "";
    
    private String InstallDir = "";
    private String executable = "";
    private String maxMem = "";
   
    private boolean quickMode=false;
    private boolean partialHeaders=false;
    private boolean auditOnly=false;
    private String maxThreads = "";
    private String outputDir = "";
    public boolean parallel =true;

    public void removeFinishedSession()
    {
        executedInstances.removeAllElements();
    }
            
    public void addExecutedInstance(AuditedInstances instances)
    {
        executedInstances.add(instances);
    }
    public Vector<AuditedInstances> getExecutedInstances()
    {
        return executedInstances;
    }
    public void setImageList(Vector<String> imageList)
    {
        this.imageList = imageList;
    }
    
    public void setInvestigatorName(String name)
    {
        investigatorName = name;
    }
    
    public void setCaseNumber(String caseNumber)
    {
        this.caseNumber = caseNumber;
    }
    
    public void setCaseDetails(String caseDetails)
    {
        this.caseDetails = caseDetails;
    }
    
    public Vector<String> getImageList()
    {
        return imageList;
    }
    
    public String getInvestigatorName()
    {
        return investigatorName;
    }
    
    public String getCaseNumber()
    {
        return caseNumber;
    }
    
    public String getCaseDetails()
    {
        return caseDetails;
    }
    /*
    public Vector<foremostInstance> getExecutions()
    {
        return executions;
    }*/
    
    public void setQuickMode( boolean quickMode)
    {
        this.quickMode = quickMode;
    }
    public boolean getQuickMode(){return quickMode;}
    public void setPartialHeaders( boolean partialHeaders)
    {
        this.partialHeaders = partialHeaders;
    }
    public boolean getPartialHeaders(){return partialHeaders;}
    public void setAuditOnly( boolean auditOnly)
    {
        this.auditOnly = auditOnly;
    }
    public boolean getAuditOnly(){return auditOnly;}
    public void setParallel(boolean parallel)
    {
        this.parallel = parallel;
    }
    
    public boolean getParallel()
    {
        return parallel;
    }
    
    public String getOutputDir(){ return outputDir; }
    public void setOutputDir(String outputDir){ this.outputDir = outputDir;} 


    public String getInstallDir(){ return InstallDir; }
    public void setInstallDir(String dir){ InstallDir = dir; }
    
    public String getExecutable(){ return executable; }
    public void setExecutable(String exec){ executable = exec; }
    
    public String getMaxMem(){ return maxMem; }
    public void setMaxMem(String mem){ maxMem = mem; }
    
    public String getMaxThreads(){ return maxThreads; }
    public void setMaxThreads(String threads){ maxThreads = threads; }
    

}
